﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.DTO.Basic.Tenant
{
    public class InAddOrUpdate
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string TenantID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnStr { get; set; }
        /// <summary>
        /// 省-代码
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 省-名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 市-代码
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 市-名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 院区ID
        /// </summary>
        public List<TenantArea> TenantAreas { get; set; }
        public string UsePolicy { get; set; }
        public string[] ModuleIDs { get; set; }
    }
    public class TenantArea
    {
        /// <summary>
        /// 院区ID
        /// </summary>
        public string AreaID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        public string Code { get; set; }
        public int Index { get; set; }
    }
}
